{extend name="public/base" /} {block name="body"}
<div class="content-tabs">
	<ol class="breadcrumb">
		<li>
			<a href="{:url('index/index')}"><i class="fa fa-home"></i></a>
		</li>
		<li><strong>保证金列表</strong></li>
	</ol>
</div>


	<div class="ibox-content">
		<form id="myForm" class="form-horizontal m-t" method="post" action="{:url('search')}">
		<div class="row">
			<div class="col-sm-12">
				<div class="col-sm-2">
					<div class="input-group">
					<!--	<a href="{:url('add')}" class="btn btn-primary btn-outline">添加</a>-->
					</div>
				</div>
			</div>
		</div>
       <div class="row"> 
        			
                        商家名称
        					
                                	<input type="text" id="storename" name="storename"  placeholder="请输入商家名称" class="blank" />
                                	
                                            添加时间<input type="text" id='add_time' name='add_time'   onclick='WdatePicker()'  placeholder="开始时间" class="blank" />
						            <input type="text" id='end_time' name='end_time'   onclick='WdatePicker()'  placeholder="结束时间" class="blank" />
                                  <input type='hidden' name="end_time"  value="2017-4-1" >				
								<span class="blank" style="border-radius:0px;border:1px;"><button type="submit" class="btn btn-sm btn-primary"><li class="fa fa-search"> 查询</li></button> </span>
                               
                        </div>
        </div>
        </form>
		<div class="hr-line-dashed"></div>
            <div class="example-wrap">
                <div class="example">
                    <table class="table table-bordered table-hover">
                        <thead>
                            <tr class="long-tr">
                                <th >商户名称</th>
                                <th >充值金额</th>
                                <th >充值类型</th>
                                <th >充值时间</th>
                            </tr>
                        </thead>
                        <tbody id="list">
                        	{volist name="list1" id='ad'}
                        	<tr>
                        		<td>{$ad.store_name}</td>
                        		<td>{$ad.price}</td>
								<td>
									{if $ad.type ==1}
									管理员操作店铺余额转保证金
									{elseif $ad.type ==2}
									管理员直冲
									{else}
									商户操作店铺余额转保证金
									{/if}
								</td>
                        		<td>{$ad.add_time}</td>
                        	</tr>
                        	{/volist}
                        </tbody>
                    </table>
                    <div style="text-align: right;">
                         
                    </div>
                </div>
            </div>
            </div>
</div>
{/block} {block name="script"}
<script src="__LIB__/datepicker/WdatePicker.js"></script>
<script>
</script>
<style>
.blank{
	width: 150px;
    height:30px;
    text-align:center;
    border-radius:5px;
}
</style>
{/block}